'Declaration
Public Function New( _ ByVal execute As Action(Of Object), _ ByVal canExecute As Predicate(Of Object) _ )
'Usage
Dim execute As Action(Of Object) Dim canExecute As Predicate(Of Object) Dim instance As New C1DelegateCommand(execute, canExecute)
public C1DelegateCommand( Action<object> execute, Predicate<object> canExecute )
public: C1DelegateCommand( Action<Object^>^ execute, Predicate<Object^>^ canExecute )
Parameters
- execute
- The execute delegate.
- canExecute
- The can execute delegate.